package logger2.filter.factories;

import logger2.environment.Environment;
import logger2.filter.ConfigurableFilter;
import logger2.filter.Filter;



public class ConfigurableFilterFactory implements FilterFactory {
	Environment logEnvironment;
	
	public ConfigurableFilterFactory(Environment logEnvironment) {
		super();
		this.logEnvironment = logEnvironment;
	}
	
	@Override
	public Filter getNewFilter() {
		return new ConfigurableFilter(logEnvironment);
	}

	@Override
	public String toString() {
		return "ConfigurableFilter";
	}
	
	

}
